#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
void Stack::Push(int x)
{
    assert(_a);
    assert(_size < _capacity);
    _a[_size++] = x;
}
void Stack::Print()
{
    for (int i = 0; i < _size; i++)
    {
        cout << _a[i] << " ";
    }
    cout << endl;
}
void Stack::PrintHello()
{
    cout << this << endl;
    cout << "hello Linux" << endl;
}